import React, { useState } from "react";
import { AtFloatLayout } from "taro-ui"
import ShopCard from "./components/shopDrawer";
import { PopUp } from '@/components/UiComponents';
import "taro-ui/dist/style/components/float-layout.scss";
import "./index.scss";
export default (props) => {
  const { show, onClose } = props;
  return (
    <PopUp visible={show} onClose={() => onClose()}>
      <ShopCard {...props}></ShopCard>
    </PopUp>
  );
};
